package com.baizhi.service;

import com.baizhi.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {
    public List<User> selectUser(@Param("pageNum")Integer pageNum,
                                 @Param("pageSize")Integer pageSize,
                                 @Param("query")String query);
    public User selectUserById(Integer id);
    public void insertUser(User user);
    public void deleteUserById(Integer id);
    public void updateUser(User user);
}
